.class final Lcom/ninesky/browser/o;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnFocusChangeListener;


# instance fields
.field private synthetic a:Lcom/ninesky/browser/AddBookmarkActivity;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/AddBookmarkActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/o;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onFocusChange(Landroid/view/View;Z)V
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/o;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-static {v0}, Lcom/ninesky/browser/AddBookmarkActivity;->h(Lcom/ninesky/browser/AddBookmarkActivity;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/o;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-static {v1}, Lcom/ninesky/browser/AddBookmarkActivity;->i(Lcom/ninesky/browser/AddBookmarkActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/ninesky/browser/o;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-static {v1, v0}, Lcom/ninesky/browser/AddBookmarkActivity;->b(Lcom/ninesky/browser/AddBookmarkActivity;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/ninesky/browser/o;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    iget-object v1, p0, Lcom/ninesky/browser/o;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-static {v1}, Lcom/ninesky/browser/AddBookmarkActivity;->i(Lcom/ninesky/browser/AddBookmarkActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/ninesky/browser/AddBookmarkActivity;->c(Lcom/ninesky/browser/AddBookmarkActivity;Ljava/lang/String;)V

    :cond_0
    return-void
.end method
